<?php
defined('IN_IXDCW') or exit('Access Denied');
require DT_ROOT.'/module/'.$module.'/common.inc.php';
$itemid or dheader($MOD['linkurl']);
$item = $db->getOne("SELECT * FROM {$db->getPre()}webpage WHERE itemid=$itemid AND islink=0");
if(!$item){
	$head_title = lang('message->item_not_exists');
	@header("HTTP/1.1 404 Not Found");
	exit(include template('show-notfound', 'message'));
};
$title=$item['title'];
$content=$item['content'];
$_item=$item['item'];
$cityid = $item['areaid'];
$template = $item['template'] ? $item['template'] : 'webpage';
include template($template, $module);